@extends('mobile.layout1')
@section('title','物流')
@section('content')
<body>
<div class="div-container div-order">
    <div class="div-inner">
        @if($order->ship_data)
        <div class="wraper">
            <!-- 物流信息 -->
            <div class="kuaidiInfo clearfix">
                <div class="kuaidiIcon">
                    <img src="/FENXIAO/images/car.png">
                </div>
                <div class="kuaidiDetails">
                    <div>物流状态: <span class="satus">{{\App\OrderPay::$expressStaTusMAP[$order->ship_data['status']]}}</span></div>
                    <div class="company">承运来源: <span>韵达</span></div>
                    <div class="number">运单编号: <span>{{$order->mail_no}}</span></div>
                </div>
            </div>

            <!-- 物流跟踪 -->
            <div class="kuaidi_follow">
                <div class="follow_title">物流跟踪</div>
                <div class="follow_satus">
                    @foreach($order->ship_data['steps'] as $v)
                    <div class="follow_address">
                        <div class="label default"></div>
                        <div class="address default">{{$v['address']}} {{$v['remark']}}</div>
                        <div class="date">{{$v['time']}}</div>
                    </div>
                 @endforeach
                </div>
            </div>
        </div>
            @else

            @endif
    </div>
</body>
</html>
    @endsection